﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.Filters;

namespace FileServer.Common
{
    public class BaseMagerFilterController : BaseMagerController
    {
        //
        // GET: /Base/
        protected new MagerLoginInfo LoginUserInfo = new MagerLoginInfo();

        //public BaseController()
        //{
        //    BaseUserLoginInfo();
        //}
        public override void OnActionExecuting(ActionExecutingContext filterContext)
        {
            base.OnActionExecuting(filterContext);
            //Hack.Application_SQLRequest(HttpContext);
            LoginUserInfo = base.LoginUserInfo;
        }
        public override void OnActionExecuted(ActionExecutedContext filterContext)
        {
            base.OnActionExecuted(filterContext);

        }

    }
}
